﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SignalR;

namespace UnliQ.Web.Framework.SignalR
{
    public class ConnectionIDFactory : IConnectionIdGenerator
    {
        public string GenerateConnectionId(IRequest request)
        {
            var connectionID = request.User.Identity.Name;

            return connectionID;
        }
    }
}